I-Java: An Extension of Java with Incomplete Objects and Object Composition

نویسندگان

  • Lorenzo Bettini
  • Viviana Bono
  • Erica Turin
چکیده

Object composition is often advocated as a more flexible alternative to standard class inheritance since it takes place at run-time, thus permitting the behavior of objects to be specialized dynamically. In this paper we present I-Java, an extension of the Java language with a form of incomplete objects, i.e., objects with some missing methods which can be provided at run-time by composition with another (complete) object. Therefore, we can exploit object composition as a linguistic construct, instead of resorting to a manual implementation. This work builds on our theoretical model of incomplete objects, which was proved type-

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Object Incompleteness and Dynamic Composition in Java-Like Languages

Object composition is often advocated as a more flexible alternative to standard class inheritance since it takes place at run-time, thus permitting to specialize the behavior of objects dynamically. In this paper we present Incomplete Featherweight Java (IFJ), an extension of Featherweight Java to incomplete objects, i.e., objects that require some missing methods which can be provided at run-...

متن کامل

O'Camelot: adding objects to a resource-aware functional language

We outline an object-oriented extension to Camelot, a functional language in the ML family designed for resource aware computation. Camelot is compiled for the Java Virtual Machine, and our extension allows Camelot programs to interact easily with the Java object system, harnessing the power of Java libraries and allowing Java programs to incorporate resource-bounded Camelot code.2

متن کامل

The Design and Implementation of Guaran aAlexandre

Several reeective architectures have attempted to improve meta-object reuse by supporting composition of meta-objects, but have done so using limited mechanisms such as Chains of Responsibility. We advocate the adoption of the Composite pattern to deene meta-conngurations. In the meta-object protocol (MOP) of Guaran a, a composer meta-object can control reconnguration of its component meta-obje...

متن کامل

Breast Muscle Characteristics of Avian Pathogenic Escherichia Coli Infected Broilers Fed with Antibiotics or Probiotic

The study was conducted to evaluate the impact of feeding multistrain probiotic on breast muscle characteristics of avian pathogenic Escherichia coli (APEC) infected broilers. Three hundred and thirty six Lohmann MB-202 day-old-chicks were divided to four treatment groups, including CNTRL (chicks receiving basal diet and not infected), APEC (chicks receiving basal diet and infected with APEC), ...

متن کامل

Debugging by Remote Reeection

Reeection in an object-oriented system allows the structure of objects and classes to be queried at run-time, thus enabling \meta-object" programming such as program debugging. Remote Reeection allows objects in one address space to reeect upon objects in a diierent address space. Used with a debugger, remote reeection makes available the full power of object-oriented reeection even when the ob...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009